<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset= utf-8" />
<script type="text/javascript" src="__PUBLIC__/js/jquery-1.6.min.js"></script>
<script type="text/javascript" src="__PUBLIC__/js/easyvalidator/js/easy_validator.pack.js"></script>
<script type="text/javascript" src="__PUBLIC__/js/easyvalidator/js/jquery.bgiframe.min.js"></script>
<script type="text/javascript" src="__PUBLIC__/js/ui.tab.js"></script>
<link href="__PUBLIC__/css/welcome.css" rel="stylesheet" type="text/css" />
<link href="__PUBLIC__/js/easyvalidator/css/validate.css" rel="stylesheet" type="text/css" />
<script type="text/javascript">

</script>
<style type="text/css">
.staffList{ width:400px; float:left; margin-left:65px; border:#CCC 1px solid; margin-top:5px;}
.label{color:#333;font-size:12px;float:left;width:185px;padding:2px 0 0 0;}
.staffList img {width:100px;height:100px;border:#ddd solid 1px;padding:2px;margin:5px 0 2px 92px;display:block;float:left;}
.staffInfo{ float:left;}
.staffInfo input{float:left;}
.staffList ul{ margin-left:10px;}
.staffList ul li{height:10px; margin:5px; float:left; }
.pageStyle{ height:15px; width:300px; text-align:center; float:left; margin-left:385px; margin-top:6px;}
</style>
<title>添加员工</title>
</head>
<body>
<table width="100%" border="0" cellpadding="0" cellspacing="0">
  <tr>
    <td width="17" valign="top" background="__PUBLIC__/images/welcome/mail_leftbg.gif"><img src="__PUBLIC__/images/welcome/left-top-right.gif" width="17" height="29" /></td>
    <td valign="top" background="__PUBLIC__/images/welcome/content-bg.gif"><table width="100%" height="31" border="0" cellpadding="0" cellspacing="0" class="left_topbg" id="table2">
        <tr>
          <td height="31"><div class="titlebt">员工管理</div></td>
        </tr>
      </table></td>
    <td width="16" valign="top" background="__PUBLIC__/images/welcome/mail_rightbg.gif"><img src="__PUBLIC__/images/welcome/nav-right-bg.gif" width="16" height="29" /></td>
  </tr>
 <tr>
    <td valign="middle" background="__PUBLIC__/images/welcome/mail_leftbg.gif">&nbsp;</td>
    <td valign="top" bgcolor="#F7F8F9"> 
    <div id="welcomeContent">
    
    	<?php foreach($result as $vo){
        	if($vo['lock']==0){$vo['lock']='激活';}else{$vo['lock']='锁定';}
        ?>
    	<div class="staffList">
       		<img src="__PUBLIC__/images/people.jpg" width="100" height="100">
            <div class="staffInfo">
                <ul>
                    <li><div class="label">编号：{$vo['staffid']}</div></li>
                    <li><div class="label">姓名：{$vo['staffName']}</div></li>
                    <li><div class="label">部门：{$vo['department']}</div></li>
                    <li><div class="label">职务：{$vo['position']}</div></li>
                    <li><div class="label">状态：{$vo['isLock']}</div></li>
                    <li><div class="label">学历：{$vo['education']}</div></li>
                    <li><div class="label">性别：{$vo['sex']}</div></li>
                    <li><div class="label">年龄：{$vo['age']}</div></li>
                    <li><div class="label">邮箱：{$vo['eMail']}</div></li>
                    <li><div class="label">手机：{$vo['phoneNo']}</div></li>
                    <li><div class="label">备注：{$vo['remarks']}</div></li>
                </ul> 
            </div>
            <form name="form_{$vo['id']}" action="__URL__/userEdit" method="get">
            <input type="hidden" name="uid" value="{$vo['id']}" />
            <input type="image" id="ele2" class="tigger" src="__PUBLIC__/images/button10.png" /> <br /><br />
            </form>
             <form name="form_{$vo['id']}" action="__URL__/userDelete" method="get">
            <input type="hidden" name="uid" value="{$vo['id']}" />
            <input type="image" class="tigger2" src="__PUBLIC__/images/button09.png" onClick="return confirm('删除后不能恢复！确定要删除吗？')" />
            </form>           
         </div>
         <?php }?>
         
      
      <!--员工管理内容在这里结束-->
      <center><div class="pageStyle">{$page}</div></center>
    </div>
    </td>
    <td background="__PUBLIC__/images/welcome/mail_rightbg.gif">&nbsp;</td>
  </tr>
  
  <tr>
    <td valign="bottom" background="__PUBLIC__/images/welcome/mail_leftbg.gif"><img src="__PUBLIC__/images/welcome/buttom_left2.gif" width="17" height="17" /></td>
    <td background="__PUBLIC__/images/welcome/buttom_bgs.gif"><img src="__PUBLIC__/images/welcome/buttom_bgs.gif" width="17" height="17"></td>
    <td valign="bottom" background="__PUBLIC__/images/welcome/mail_rightbg.gif"><img src="__PUBLIC__/images/welcome/buttom_right2.gif" width="16" height="17" /></td>
  </tr>
</table>
</body>
</html>
